package com.zs.zcerp;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import com.zs.zcerp.common.annotation.FebsShiro;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;

/**
 * @author
 */

@FebsShiro
@SpringBootApplication(exclude = DruidDataSourceAutoConfigure.class)
public class ZcEepShiroApplication {

 public static void main(String[] args) {
  new SpringApplicationBuilder(ZcEepShiroApplication.class)
          .web(WebApplicationType.SERVLET)
          .run(args);
 }

}

/*@FebsShiro
@SpringBootApplication(exclude = DruidDataSourceAutoConfigure.class)
public class ZcEepShiroApplication extends SpringBootServletInitializer {

    public static void main(String[] args) {
        SpringApplication.run(ZcEepShiroApplication.class, args);
    }
}*/

